﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Timers;
using System.Threading;
using AuctionHelper.Core;

namespace AuctionHelper.UnitTest
{
    class Program
    {

        static void Main(string[] args)
        {
            var result = OcrHelper.GetTextFromBitmapStream(@"d:\1.tif");
            if (result.IsSuccess)
            {
                Console.WriteLine(result.Data);
            }
            else
            {
                Console.WriteLine(result.Message);
            }
            Console.Read();
        }

    }
}
